package com.dks.mapper;

import java.util.*;
import com.dks.models.InvitationRecordDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface InvitationRecordDetailMapper{

    Integer insert(InvitationRecordDetail invitationRecordDetail);

    Integer update(InvitationRecordDetail invitationRecordDetail);

    Integer delete(@Param("id") Integer id);

    InvitationRecordDetail select(@Param("id") Integer id);

    Integer cntByMap(Map<String, Object> map);

    List<Integer> getByMap(Map<String, Object> map);

    List<InvitationRecordDetail> getByMapList(Map<String, Object> map);

    Integer updateByCode(InvitationRecordDetail invitationRecordDetail);

    InvitationRecordDetail selectByBfCode(@Param("bfCode") String bfCode);
}
